<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">AbstractSingleObjectiveOptimizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_abstract_single_objective_optimizer-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__optimizers.html">Algorithms to find a local minimum of\ref objfunctions.</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Base class for all single objective optimizer.  
 <a href="classshark_1_1_abstract_single_objective_optimizer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_abstract_single_objective_optimizer_8h_source.html">shark/Algorithms/AbstractSingleObjectiveOptimizer.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_abstract_single_objective_optimizer__inherit__graph.png" border="0" usemap="#ashark_1_1_abstract_single_objective_optimizer_3_01_point_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_abstract_single_objective_optimizer_3_01_point_type_01_4_inherit__map" id="ashark_1_1_abstract_single_objective_optimizer_3_01_point_type_01_4_inherit__map">
<area shape="rect" title="Base class for all single objective optimizer." alt="" coords="290,104,491,145"/>
<area shape="rect" href="classshark_1_1_abstract_line_search_optimizer.html" title=" " alt="" coords="541,5,716,46"/>
<area shape="poly" title=" " alt="" coords="450,95,538,57,570,44,572,49,540,61,452,100"/>
<area shape="rect" href="classshark_1_1_adam.html" title="Adaptive Moment Estimation Algorithm (ADAM)" alt="" coords="540,71,718,111"/>
<area shape="poly" title=" " alt="" coords="506,105,539,101,540,106,507,111"/>
<area shape="rect" href="classshark_1_1_rprop.html" title="This class offers methods for the usage of the Resilient&#45;Backpropagation&#45;algorithm with/out weight&#45;ba..." alt="" coords="539,136,718,177"/>
<area shape="poly" title=" " alt="" coords="507,137,539,142,538,147,506,143"/>
<area shape="rect" href="classshark_1_1_steepest_descent.html" title="Standard steepest descent." alt="" coords="548,201,710,242"/>
<area shape="poly" title=" " alt="" coords="453,149,540,186,572,198,570,203,538,191,451,154"/>
<area shape="rect" href="classshark_1_1_abstract_optimizer.html" title=" " alt="" coords="5,97,242,152"/>
<area shape="poly" title=" " alt="" coords="257,122,289,122,289,127,257,127"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a85f0d04fdfb094dba4dc80b1fb5e3adb" id="r_a85f0d04fdfb094dba4dc80b1fb5e3adb"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">base_type::SearchPointType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a85f0d04fdfb094dba4dc80b1fb5e3adb">SearchPointType</a></td></tr>
<tr class="separator:a85f0d04fdfb094dba4dc80b1fb5e3adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8abcd574faa4b7bd2fed03465d1eda35" id="r_a8abcd574faa4b7bd2fed03465d1eda35"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">base_type::SolutionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a8abcd574faa4b7bd2fed03465d1eda35">SolutionType</a></td></tr>
<tr class="separator:a8abcd574faa4b7bd2fed03465d1eda35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a068a68c8739215f4a13ce8a433ec38b3" id="r_a068a68c8739215f4a13ce8a433ec38b3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">base_type::ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a068a68c8739215f4a13ce8a433ec38b3">ResultType</a></td></tr>
<tr class="separator:a068a68c8739215f4a13ce8a433ec38b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c05609c54d7ebc99d099e7dd6e228f" id="r_aa4c05609c54d7ebc99d099e7dd6e228f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">base_type::ObjectiveFunctionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#aa4c05609c54d7ebc99d099e7dd6e228f">ObjectiveFunctionType</a></td></tr>
<tr class="separator:aa4c05609c54d7ebc99d099e7dd6e228f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_optimizer"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_optimizer')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a></td></tr>
<tr class="memitem:a77bf437afee3445601c680cc652410f0 inherit pub_types_classshark_1_1_abstract_optimizer" id="r_a77bf437afee3445601c680cc652410f0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> </td></tr>
<tr class="memdesc:a77bf437afee3445601c680cc652410f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Models features that the optimizer requires from the objective function.  <a href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">More...</a><br /></td></tr>
<tr class="separator:a77bf437afee3445601c680cc652410f0 inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea8df343e5638782a9a82403adb5ae1 inherit pub_types_classshark_1_1_abstract_optimizer" id="r_abea8df343e5638782a9a82403adb5ae1"><td class="memItemLeft" align="right" valign="top">typedef PointType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">SearchPointType</a></td></tr>
<tr class="separator:abea8df343e5638782a9a82403adb5ae1 inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89ed73f010deb3809acbcf23160c0f6b inherit pub_types_classshark_1_1_abstract_optimizer" id="r_a89ed73f010deb3809acbcf23160c0f6b"><td class="memItemLeft" align="right" valign="top">typedef double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">ResultType</a></td></tr>
<tr class="separator:a89ed73f010deb3809acbcf23160c0f6b inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc94d354dbe0b99c0a69ec3e6e5e8657 inherit pub_types_classshark_1_1_abstract_optimizer" id="r_abc94d354dbe0b99c0a69ec3e6e5e8657"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_single_objective_result_set.html">SingleObjectiveResultSet</a>&lt; PointType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">SolutionType</a></td></tr>
<tr class="separator:abc94d354dbe0b99c0a69ec3e6e5e8657 inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a9b0634e5a5cbd683f5510b41b7062 inherit pub_types_classshark_1_1_abstract_optimizer" id="r_ac7a9b0634e5a5cbd683f5510b41b7062"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html">AbstractObjectiveFunction</a>&lt; PointType, <a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">ResultType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a></td></tr>
<tr class="separator:ac7a9b0634e5a5cbd683f5510b41b7062 inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab43ff108d945a982e98495432ace599f inherit pub_types_classshark_1_1_abstract_optimizer" id="r_ab43ff108d945a982e98495432ace599f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a></td></tr>
<tr class="separator:ab43ff108d945a982e98495432ace599f inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47751327ce0519d3378a9b2ad188d1e6 inherit pub_types_classshark_1_1_abstract_optimizer" id="r_a47751327ce0519d3378a9b2ad188d1e6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a47751327ce0519d3378a9b2ad188d1e6">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a47751327ce0519d3378a9b2ad188d1e6 inherit pub_types_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1bd54036e3524dc2ddf02afeadc0939f" id="r_a1bd54036e3524dc2ddf02afeadc0939f"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a1bd54036e3524dc2ddf02afeadc0939f">numInitPoints</a> () const</td></tr>
<tr class="memdesc:a1bd54036e3524dc2ddf02afeadc0939f"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default most single objective optimizers only require a single point.  <br /></td></tr>
<tr class="separator:a1bd54036e3524dc2ddf02afeadc0939f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a246f1f1d4e0566c9a0ca43035a63fad5" id="r_a246f1f1d4e0566c9a0ca43035a63fad5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a246f1f1d4e0566c9a0ca43035a63fad5">init</a> (<a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#aa4c05609c54d7ebc99d099e7dd6e228f">ObjectiveFunctionType</a> const &amp;function, std::vector&lt; <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a85f0d04fdfb094dba4dc80b1fb5e3adb">SearchPointType</a> &gt; const &amp;initPoints)</td></tr>
<tr class="memdesc:a246f1f1d4e0566c9a0ca43035a63fad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the optimizer for the supplied objective function using a set of initialisation points.  <br /></td></tr>
<tr class="separator:a246f1f1d4e0566c9a0ca43035a63fad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae53c1a8348f5ab987f5aa8829fd8020f" id="r_ae53c1a8348f5ab987f5aa8829fd8020f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#ae53c1a8348f5ab987f5aa8829fd8020f">init</a> (<a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#aa4c05609c54d7ebc99d099e7dd6e228f">ObjectiveFunctionType</a> const &amp;function, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a85f0d04fdfb094dba4dc80b1fb5e3adb">SearchPointType</a> const &amp;startingPoint)=0</td></tr>
<tr class="memdesc:ae53c1a8348f5ab987f5aa8829fd8020f"><td class="mdescLeft">&#160;</td><td class="mdescRight">initializes the optimizer using a predefined starting point  <br /></td></tr>
<tr class="separator:ae53c1a8348f5ab987f5aa8829fd8020f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0909596fcc4f80a8d108859b20b64a81" id="r_a0909596fcc4f80a8d108859b20b64a81"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a8abcd574faa4b7bd2fed03465d1eda35">SolutionType</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a0909596fcc4f80a8d108859b20b64a81">solution</a> () const</td></tr>
<tr class="memdesc:a0909596fcc4f80a8d108859b20b64a81"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the current solution of the optimizer  <br /></td></tr>
<tr class="separator:a0909596fcc4f80a8d108859b20b64a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_optimizer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_optimizer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a></td></tr>
<tr class="memitem:a40334039f6e799b2255d229874e9fa39 inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_a40334039f6e799b2255d229874e9fa39"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">features</a> () const</td></tr>
<tr class="separator:a40334039f6e799b2255d229874e9fa39 inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0219242dff14757398c81d2e82c22e inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_adc0219242dff14757398c81d2e82c22e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#adc0219242dff14757398c81d2e82c22e">updateFeatures</a> ()</td></tr>
<tr class="separator:adc0219242dff14757398c81d2e82c22e inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8645fb354408c89d3537aa87aed49b79 inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_a8645fb354408c89d3537aa87aed49b79"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a8645fb354408c89d3537aa87aed49b79">requiresValue</a> () const</td></tr>
<tr class="separator:a8645fb354408c89d3537aa87aed49b79 inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dff098bcde14529b64be653d73d57f inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_a13dff098bcde14529b64be653d73d57f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a13dff098bcde14529b64be653d73d57f">requiresFirstDerivative</a> () const</td></tr>
<tr class="separator:a13dff098bcde14529b64be653d73d57f inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da146985b7738554e09f75a670f8c97 inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_a9da146985b7738554e09f75a670f8c97"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a9da146985b7738554e09f75a670f8c97">requiresSecondDerivative</a> () const</td></tr>
<tr class="separator:a9da146985b7738554e09f75a670f8c97 inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecad1d60d38fd243eaf7c7bf0f6d01af inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_aecad1d60d38fd243eaf7c7bf0f6d01af"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aecad1d60d38fd243eaf7c7bf0f6d01af">canSolveConstrained</a> () const</td></tr>
<tr class="separator:aecad1d60d38fd243eaf7c7bf0f6d01af inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9332ad1b90deed11ee6709a92964bc9 inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_aa9332ad1b90deed11ee6709a92964bc9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aa9332ad1b90deed11ee6709a92964bc9">requiresClosestFeasible</a> () const</td></tr>
<tr class="separator:aa9332ad1b90deed11ee6709a92964bc9 inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd45149f57784a117e8f62d0763bf891 inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_abd45149f57784a117e8f62d0763bf891"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abd45149f57784a117e8f62d0763bf891">~AbstractOptimizer</a> ()</td></tr>
<tr class="separator:abd45149f57784a117e8f62d0763bf891 inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa65e7eece1d248594253b799cf20e7a inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_aaa65e7eece1d248594253b799cf20e7a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a">init</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;function)</td></tr>
<tr class="memdesc:aaa65e7eece1d248594253b799cf20e7a inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the optimizer for the supplied objective function.  <br /></td></tr>
<tr class="separator:aaa65e7eece1d248594253b799cf20e7a inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc507951eb09c50d62c474c79d773ea inherit pub_methods_classshark_1_1_abstract_optimizer" id="r_abfc507951eb09c50d62c474c79d773ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abfc507951eb09c50d62c474c79d773ea">step</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;function)=0</td></tr>
<tr class="memdesc:abfc507951eb09c50d62c474c79d773ea inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Carry out one step of the optimizer for the supplied objective function.  <br /></td></tr>
<tr class="separator:abfc507951eb09c50d62c474c79d773ea inherit pub_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable" id="r_a9893f99314de30cd472e649c235d0db4"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">name</a> () const</td></tr>
<tr class="memdesc:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable" id="r_ad4ad9a7c274deff642f91e98417fbc63"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the component from the supplied archive.  <br /></td></tr>
<tr class="separator:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable" id="r_a9bddedd42933c922e323b73131f62f12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the component to the supplied archive.  <br /></td></tr>
<tr class="separator:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0" id="r_a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a8abcd574faa4b7bd2fed03465d1eda35">SolutionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0">m_best</a></td></tr>
<tr class="memdesc:a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current solution of the optimizer.  <br /></td></tr>
<tr class="separator:a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_optimizer"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_optimizer')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a></td></tr>
<tr class="memitem:a72daf583d406e144b90869f311baa594 inherit pro_attribs_classshark_1_1_abstract_optimizer" id="r_a72daf583d406e144b90869f311baa594"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a72daf583d406e144b90869f311baa594">m_features</a></td></tr>
<tr class="separator:a72daf583d406e144b90869f311baa594 inherit pro_attribs_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classshark_1_1_abstract_optimizer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshark_1_1_abstract_optimizer')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a></td></tr>
<tr class="memitem:ae7a23300641448c761b6aa0305b7ef66 inherit pro_methods_classshark_1_1_abstract_optimizer" id="r_ae7a23300641448c761b6aa0305b7ef66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">checkFeatures</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;objectiveFunction)</td></tr>
<tr class="memdesc:ae7a23300641448c761b6aa0305b7ef66 inherit pro_methods_classshark_1_1_abstract_optimizer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that checks whether the features of the supplied objective function match with the required features of the optimizer.  <br /></td></tr>
<tr class="separator:ae7a23300641448c761b6aa0305b7ef66 inherit pro_methods_classshark_1_1_abstract_optimizer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class PointType&gt;<br />
class shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;</div><p>Base class for all single objective optimizer. </p>
<p>This class is a spezialization of the <a class="el" href="classshark_1_1_abstract_optimizer.html" title="An optimizer that optimizes general objective functions.">AbstractOptimizer</a> itnerface for the class of single objective optimizers. A single objective optimizer is an optimizer which can only optimize functions with a single objective. This is the default case for most optimisation problems. the class requires the ObjectiveFunction to provide a feasible starting point. If this is not possible, a second version of init is provided where the starting point can be explicitely defined. The Return type of an SingleObjectiveOptimizer is the <a class="el" href="structshark_1_1_single_objective_result_set.html" title="Result set for single objective algorithm.">SingleObjectiveResultSet</a> which is a struct returning the best value of the function and together with it's point. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00061">61</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aa4c05609c54d7ebc99d099e7dd6e228f" name="aa4c05609c54d7ebc99d099e7dd6e228f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4c05609c54d7ebc99d099e7dd6e228f">&#9670;&#160;</a></span>ObjectiveFunctionType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">base_type::ObjectiveFunctionType</a> <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::ObjectiveFunctionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00068">68</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

</div>
</div>
<a id="a068a68c8739215f4a13ce8a433ec38b3" name="a068a68c8739215f4a13ce8a433ec38b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a068a68c8739215f4a13ce8a433ec38b3">&#9670;&#160;</a></span>ResultType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">base_type::ResultType</a> <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::ResultType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00067">67</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

</div>
</div>
<a id="a85f0d04fdfb094dba4dc80b1fb5e3adb" name="a85f0d04fdfb094dba4dc80b1fb5e3adb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85f0d04fdfb094dba4dc80b1fb5e3adb">&#9670;&#160;</a></span>SearchPointType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">base_type::SearchPointType</a> <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::SearchPointType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00065">65</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

</div>
</div>
<a id="a8abcd574faa4b7bd2fed03465d1eda35" name="a8abcd574faa4b7bd2fed03465d1eda35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8abcd574faa4b7bd2fed03465d1eda35">&#9670;&#160;</a></span>SolutionType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">base_type::SolutionType</a> <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::SolutionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00066">66</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae53c1a8348f5ab987f5aa8829fd8020f" name="ae53c1a8348f5ab987f5aa8829fd8020f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae53c1a8348f5ab987f5aa8829fd8020f">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#aa4c05609c54d7ebc99d099e7dd6e228f">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a85f0d04fdfb094dba4dc80b1fb5e3adb">SearchPointType</a> const &amp;&#160;</td>
          <td class="paramname"><em>startingPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>initializes the optimizer using a predefined starting point </p>

<p>Implemented in <a class="el" href="classshark_1_1_c_m_a.html#a28cc4e5f5429c3a6c1b650c1f75e76db">shark::CMA</a>, <a class="el" href="classshark_1_1_c_m_s_a.html#a6041460c4df5667f5387827da848e066">shark::CMSA</a>, <a class="el" href="classshark_1_1_cross_entropy_method.html#a69e6fc00f991cbd03a5adf5e34b2d963">shark::CrossEntropyMethod</a>, <a class="el" href="classshark_1_1_elitist_c_m_a.html#a68ca942a72b59c681642a33d98f36e72">shark::ElitistCMA</a>, <a class="el" href="classshark_1_1_l_m_c_m_a.html#a0636affdccf6eca66033fa85424ae7c4">shark::LMCMA</a>, <a class="el" href="classshark_1_1_v_d_c_m_a.html#a387173a404de5babcadf81f812154442">shark::VDCMA</a>, <a class="el" href="classshark_1_1_grid_search.html#aee57c542b7ca10f41028da93434bf316">shark::GridSearch</a>, <a class="el" href="classshark_1_1_nested_grid_search.html#a7d9ffc24f40f1824e0973e880c48d474">shark::NestedGridSearch</a>, <a class="el" href="classshark_1_1_point_search.html#a526bcfc4e0bcfd6bd4d4c937347f5ad6">shark::PointSearch</a>, and <a class="el" href="classshark_1_1_simplex_downhill.html#a5362ffe8e7c5d448f2b4072cd0e62ab6">shark::SimplexDownhill</a>.</p>

</div>
</div>
<a id="a246f1f1d4e0566c9a0ca43035a63fad5" name="a246f1f1d4e0566c9a0ca43035a63fad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a246f1f1d4e0566c9a0ca43035a63fad5">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#aa4c05609c54d7ebc99d099e7dd6e228f">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a85f0d04fdfb094dba4dc80b1fb5e3adb">SearchPointType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>initPoints</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initialize the optimizer for the supplied objective function using a set of initialisation points. </p>
<p>The default implementation picks either the first point in the set, or if it is enmpty, trys to generate one from the function.</p>
<p>Be aware that function.init() has to be called before calling this function!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">function</td><td>The objective function to initialize for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">initPoints</td><td>points used for initialisation. Should be at least <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a1bd54036e3524dc2ddf02afeadc0939f" title="By default most single objective optimizers only require a single point.">numInitPoints()</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classshark_1_1_abstract_optimizer.html#a5f6f869a2ea7c6d29e70f8248f076f66">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00086">86</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a246f1f1d4e0566c9a0ca43035a63fad5">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;::init()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a246f1f1d4e0566c9a0ca43035a63fad5">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;::init()</a>, and <a class="el" href="classshark_1_1_optimization_trainer.html#ab3cfafba31871515074323c20d501573">shark::OptimizationTrainer&lt; Model, LabelTypeT &gt;::train()</a>.</p>

</div>
</div>
<a id="a1bd54036e3524dc2ddf02afeadc0939f" name="a1bd54036e3524dc2ddf02afeadc0939f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bd54036e3524dc2ddf02afeadc0939f">&#9670;&#160;</a></span>numInitPoints()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::numInitPoints </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>By default most single objective optimizers only require a single point. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_optimizer.html#a977f8494a25041605b5a2d7d7d120a71">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00071">71</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

</div>
</div>
<a id="a0909596fcc4f80a8d108859b20b64a81" name="a0909596fcc4f80a8d108859b20b64a81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0909596fcc4f80a8d108859b20b64a81">&#9670;&#160;</a></span>solution()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a8abcd574faa4b7bd2fed03465d1eda35">SolutionType</a> &amp; <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::solution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the current solution of the optimizer </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_optimizer.html#a277acc916ab9b33a9a7fe954a7cb4b72">shark::AbstractOptimizer&lt; PointType, double, SingleObjectiveResultSet&lt; PointType &gt; &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00096">96</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;::m_best</a>.</p>

<p class="reference">Referenced by <a class="el" href="_archive_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="logistic__regression___l_b_f_g_s_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, <a class="el" href="_c_svm_max_likelihood_m_s_8cpp.html#a28267e6f7ec1120183ffd7ae7a9a60d2">run_one_trial()</a>, <a class="el" href="classshark_1_1_optimization_trainer.html#ab3cfafba31871515074323c20d501573">shark::OptimizationTrainer&lt; Model, LabelTypeT &gt;::train()</a>, and <a class="el" href="_deep_network_training_r_b_m_8cpp.html#a05058126c2d28e9b8008edd10500114d">trainRBM()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0" name="a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4740a0f8e9d5c7d99cf0dd0c3ee0e8a0">&#9670;&#160;</a></span>m_best</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a8abcd574faa4b7bd2fed03465d1eda35">SolutionType</a> <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html">shark::AbstractSingleObjectiveOptimizer</a>&lt; PointType &gt;::m_best</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current solution of the optimizer. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_single_objective_optimizer_8h_source.html#l00102">102</a> of file <a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_adam.html#a05893bc5dc81a6fccd0b9a0a15415770">shark::Adam&lt; SearchPointType &gt;::init()</a>, <a class="el" href="classshark_1_1_steepest_descent.html#ad8a11c43e286716c78eddcaad85e2c35">shark::SteepestDescent&lt; SearchPointType &gt;::init()</a>, <a class="el" href="classshark_1_1_adam.html#ab0560f21fb8e543bd040c37e3ba3a35e">shark::Adam&lt; SearchPointType &gt;::read()</a>, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a0909596fcc4f80a8d108859b20b64a81">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;::solution()</a>, <a class="el" href="classshark_1_1_adam.html#aad42982976c3e91534ac33999d7c6fc3">shark::Adam&lt; SearchPointType &gt;::step()</a>, <a class="el" href="classshark_1_1_steepest_descent.html#a481c680541979d1827c1b386203ee4e2">shark::SteepestDescent&lt; SearchPointType &gt;::step()</a>, and <a class="el" href="classshark_1_1_adam.html#aff40083e249cf987ca9232c4af82138b">shark::Adam&lt; SearchPointType &gt;::write()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/<a class="el" href="_abstract_single_objective_optimizer_8h_source.html">AbstractSingleObjectiveOptimizer.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
